@layout("/common/_container.html"){
<style>h5{color:#30add1;margin:10px 0 0;}.ulBox{padding:0;margin:0;display:flex;}.ulBox > li{flex:1;}.ulBox > li > div{margin:15px 0}.ulBox > li > div > span{display:inline-block;width:80px;}.frameBox{width:60%;height:28px;padding-left:10px;border:1px solid #cccccc;border-radius:5px;}.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox>button{margin:0;color:white;background:#6090b8;padding: 4px 20px;}.btnBox>button:last-of-type{background:white;color:inherit;border:1px solid #999999}.must{color:red;}</style>
<div class="ibox float-e-margins" style="height: 100%">
    <div class="ibox-content" style="height: 100%;padding: 0;border-width:0">
        <div class="form-horizontal" id="customerInfoForm" style="height: 100%">
            <div style="display: none">
                <input type="hidden" id="reservationsId" value="${reservationsId}">
            </div>
            <div style="background: #6090b8;color: white;padding: 5px 10px;">设置企划卡</div>
            <div style="padding: 5px 0;height: calc(100% - 76px);overflow: auto;">
                @for(item in rlist){
                <div style="height: 45px">
                    <input name="dealId" class="dealId select_style" style="width: 160px;" value="${item.id}" hidden="hidden"> &nbsp;&nbsp;&nbsp;
                    <label name="payServiceName" class="payServiceName" style="width: 160px;" >${item.payServiceName}</label>
                    <input name="etaCardY" class="etaCardY select_style" style="width: 160px;" value="${item.etaCard}" hidden="hidden">&nbsp;&nbsp;
                    <input name="etaCard" class="etaCard select_style" style="width: 160px;" value="${item.etaCard}">
                </div>
                @}
                &nbsp;&nbsp;&nbsp;
                <label name="return" id="return" style="width: 250px;color: red" ></label>
            </div>
            <div class="btnBox">
                <button type="button" class="btn" id="ensure" onclick="updateEtaCardOK()">提交</button>
                <button type="button" class="btn" id="cancel" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/arrival/customer/updateEtaCard.js?v=20200718"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jsAddresss.js?v=20200718"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/initAddress.js?v=20200718"></script>
@}